﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.loading.vos {
    import flash.net.*;

    public class RequestVO {

        private var _id:String;
        private var _url:String;
        private var _params:URLVariables;
        private var _method:String = "GET"
        private var _caching:Boolean;
        private var _format:String;
        private var _pipeId:String;
        private var _fileSize:int = 0

        public function RequestVO(_arg1:String, _arg2:Object=null, _arg3:Boolean=false, _arg4:String=null, _arg5:String=null){
            this._id = _arg1;
            this._caching = _arg3;
            this._format = _arg4;
            this._pipeId = _arg5;
            this.addParams(_arg2);
        }
        public function get id():String{
            return (this._id);
        }
        public function set url(_arg1:String):void{
            this._url = _arg1;
        }
        public function get url():String{
            return (this._url);
        }
        public function set params(_arg1:URLVariables):void{
            this._params = _arg1;
        }
        public function get params():URLVariables{
            return (this._params);
        }
        public function set method(_arg1:String):void{
            this._method = _arg1;
        }
        public function get method():String{
            return (this._method);
        }
        public function set caching(_arg1:Boolean):void{
            this._caching = _arg1;
        }
        public function get caching():Boolean{
            return (this._caching);
        }
        public function set format(_arg1:String):void{
            this._format = _arg1;
        }
        public function get format():String{
            return (this._format);
        }
        public function set pipeId(_arg1:String):void{
            this._pipeId = _arg1;
        }
        public function get pipeId():String{
            return (this._pipeId);
        }
        public function get fileSize():int{
            return (this._fileSize);
        }
        public function set fileSize(_arg1:int):void{
            this._fileSize = _arg1;
        }
        public function addParam(_arg1:String, _arg2):void{
            this._params = ((this._params) || (new URLVariables()));
            this._params[_arg1] = _arg2;
        }
        public function addParams(_arg1:Object):void{
            var _local2:String;
            if (_arg1){
                for (_local2 in _arg1) {
                    this.addParam(_local2, _arg1[_local2]);
                };
            };
        }

    }
}//package net.wooga.pets.loading.vos 
